package com.letfox.frm.service.impl;

import java.util.Map;

import org.springframework.stereotype.Service;

import com.letfox.frm.service.FRMCacheService;
import com.letfox.redis.service.impl.RedisCacheBaseImpl;

@Service
public class FRMCacheServiceImpl extends RedisCacheBaseImpl<Object> implements FRMCacheService {

	@Override
	public Map<String, Object> getAuthoritions(String key) {
		return hashCahceUtil.getCacheMap(key);
	}

	@Override
	public void addAuthoritions(String key, Map<String, Object> map) {
		hashCahceUtil.setCacheMap(key, map);
	}

}
